package kr.totalcall.view.receive.vo
{
	import mx.collections.ArrayCollection;

	/**
	 * 작업 기록
	 * 2012. 7. 13. / 이규광 / 최초 작성.
	 */
	/**
	 * 내용.
	 * @productversion Flex 4.5
	 * @langversion ActionScript 3.0
	 * @playerversion Flash 10.2
	 * @author 이규광.
	 */
	public class ReceiveVOFactory
	{
		
		public static function createReceiveVoAC(xmlList:XMLList):ArrayCollection{
			if(!xmlList) return null;
			
			var ac:ArrayCollection = new ArrayCollection();
			
			for( var i : int = 0 ; i < xmlList.length(); i++){
				var item:ReceiveVO = new ReceiveVO(xmlList[i]);
				ac.addItem(item);
			}
			
			return ac;
		}
		
		/**
		 * 생성자
		 */
		public function ReceiveVOFactory()
		{
		}
	}
}